<?php
//рус
class model_request
{
    private $_data = array();
    function __set ($name, $value)
    {
        $this->_data[$name] = $value;
    }
    function &__get ($name)
    {
        return $this->_data[$name];
    }
    function GetData ()
    {
        return $this->_data;
    }
    function SetData ($data)
    {
        if (! is_array($data))
            return;
        $this->_data = $data;
    }
}